package com.example.demojpa.dao;
import com.example.demojpa.entity.Course;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface CourseDao extends JpaRepository<Course, Integer> {
    Course findByCname(String var1);
    Course findByCno(Integer var1);
    Page<Course> findAll(Pageable var1);
}